home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / mercedes.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.9 KB  |  93 lines

  1. // Mercedes
  2. mercedes
  3. {
  4.     qer_editorimage textures/models/vehicles/mercedes/mercedes.tga
  5.     cull none
  6.     {
  7.         map textures/common/reflection1.tga
  8.         rgbGen lightingSpherical
  9.         tcGen environmentmodel
  10.     }
  11.     {
  12.         map textures/models/vehicles/mercedes/mercedes.tga
  13.         rgbGen lightingSpherical
  14.         blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  15.     }
  16. }
  17. mercedestread
  18. {
  19.     qer_editorimage textures/models/vehicles/mercedes/mtread.tga
  20.     {
  21.         map textures/models/vehicles/mercedes/mtread.tga
  22.         rgbGen lightingSpherical
  23.     }
  24. }
  25. mercedeshub
  26. {
  27.     qer_editorimage textures/models/vehicles/mercedes/mhub.tga
  28.     {
  29.         map textures/models/vehicles/mercedes/mhub.tga
  30.         rgbGen lightingSpherical
  31.     }
  32. }
  33. mercedes_window
  34. {
  35.     qer_editorimage textures/models/vehicles/mercedes/mercedesw.tga
  36.     cull none
  37.     {
  38.         map textures/models/vehicles/mercedes/mercedesw.tga
  39.         rgbGen lightingSpherical
  40.         blendFunc blend
  41.         depthWrite
  42.     }
  43. }
  44.  
  45. static_mercedes
  46. {
  47.     qer_editorimage textures/models/vehicles/mercedes/mercedes.tga
  48.     cull none
  49.     {
  50.         map textures/common/reflection1.tga
  51.         rgbGen vertex
  52.         tcGen environmentmodel
  53.     }
  54.     {
  55.         map textures/models/vehicles/mercedes/mercedes.tga
  56.         rgbGen vertex
  57.         blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  58.     }
  59. }
  60. static_mercedes_window
  61. {
  62.     qer_editorimage textures/models/vehicles/mercedes/mercedesw.tga
  63.     cull none
  64.     {
  65.         map textures/common/reflection1.tga
  66.         rgbGen vertex
  67.         tcgen environmentmodel
  68.         alphaGen const 0.05
  69.         blendFunc blend
  70.     }
  71.     {
  72.         map textures/models/vehicles/mercedes/mercedesw.tga
  73.         rgbGen vertex
  74.         blendFunc blend
  75.     }
  76. }
  77. static_mercedestread
  78. {
  79.     qer_editorimage textures/models/vehicles/mercedes/mtread.tga
  80.     {
  81.         map textures/models/vehicles/mercedes/mtread.tga
  82.         rgbGen vertex
  83.     }
  84. }
  85. static_mercedeshub
  86. {
  87.     qer_editorimage textures/models/vehicles/mercedes/mhub.tga
  88.     {
  89.         map textures/models/vehicles/mercedes/mhub.tga
  90.         rgbGen vertex
  91.     }
  92. }
  93.